<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        body{
            padding-left: 200px;
        }
        .box{
            margin: 2rem;
        }
        .box, .box > span{
            width: 100px;
            height: 100px;
            border: solid 1px #333;
        }
        .box > span{
            display: block;
            border: none;
            background-color: rgba(255,0,0, .5);
        }
    </style>
</head>
<body>
    <h1>Transform</h1>
    <h2>transform: translateX(20px)</h2>
    <div class="box">
        <span style="transform: translateX(20px)"></span>
    </div>

    <h2>transform: translateY(20px)</h2>
    <div class="box">
        <span style="transform: translateY(20px)"></span>
    </div>

    <h2>transform: translate(20px, 20px)</h2>
    <div class="box">
        <span style="transform: translate(20px, 20px)"></span>
    </div>

    <h2>transform: rotate(45deg)</h2>
    <div class="box">
        <span style="transform: rotate(45deg)"></span>
    </div>

    <h2>transform: scale(1.5)</h2>
    <div class="box">
        <span style="transform: scale(1.5)"></span>
    </div>

    <h2>transform: scaleX(1.5)</h2>
    <div class="box">
        <span style="transform: scaleX(1.5)"></span>
    </div>

    <h2>transform: scaleY(1.5)</h2>
    <div class="box">
        <span style="transform: scaleY(1.5)"></span>
    </div>

    <h2>transform: skew(45deg, -45deg)</h2>
    <div class="box">
        <span style="transform: skew(45deg, -45deg)"></span>
    </div>

    <h2>transform: skewX(45deg)</h2>
    <div class="box">
        <span style="transform: skewX(45deg)"></span>
    </div>

    <h2>transform: skewY(45deg)</h2>
    <div class="box">
        <span style="transform: skewY(45deg)"></span>
    </div>
</body>
</html>